Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy divs for toolbox from toolbox.tmpl to PageTemplate #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

BFallert
Copy link
Collaborator

@BFallert BFallert commented May 16, 2019

First i tried to use toolbox.tmpl. Then i moved the html contect from Resources/Public/PluginTemplates/toolbox.tmpl to Resources/Private/Templates/DetailTemplate.html.

Toolbox now possible to open and work out of the box.

Incorrect html code with two selected tools

When i include toolbox.tmpl in my typo3-element i get several blank repetitions of headline and ### TOOL ### as many times as many tools from "Available Items" i select.

Example:

<div class="tx-dlf-Toolbox">
    <div class="dropdown-menu">
        <input type="checkbox" id="checkbox-menu2">
        <label for="checkbox-menu2">Werkzeuge</label>
        <ul>
            <li>
                <div class="tx-dlf-FulltextTool">
                    <div class="dropdown-menu">
                        <input type="checkbox" id="checkbox-menu2">
                        <label for="checkbox-menu2">Werkzeuge</label>
                        <ul>
                            <!-- ###TOOLS### -->
                            <li>###TOOL###</li>
                            <!-- ###TOOLS### -->
                        </ul>
                    </div>
                </div>
            </li>
            <li>
                <div class="tx-dlf-ImageDownloadTool">
                    <div class="dropdown-menu">
                        <input type="checkbox" id="checkbox-menu2">
                        <label for="checkbox-menu2">Werkzeuge</label>
                        <ul>
                            <!-- ###TOOLS### -->
                            <li>###TOOL###</li>
                            <!-- ###TOOLS### -->
                        </ul>
                    </div>
                </div>
            </li>
        </ul>
    </div>
</div>

@sebastian-meyer sebastian-meyer added the bug Something isn't working label Dec 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants